
<div id = "load_training_form">
<form action="" method="POST" id="Trainingfrm" name=""Trainingfrm"" autocomplete="off">
	<input type = "hidden" value = "" name = "selectValueTrainingTree" id = "selectValueTrainingTree" />
	<input type = "hidden" value = "" name = "idCheckboxs" id = "idCheckboxs" />
	<?echo $this->formHidden("sType",'LEARNING',null);?>
	<div class = "searh-fixed" style="width:99%;border-bottom:1px solid #DDDDDD;padding-bottom:3px;">
		<div class = "normal_title">
			<?=$this->titleBody;?>				
		</div>
		<div class="search-tree">
			<input id="searchNodes" class="textbox" type="text" name="searchNodes" autocomplete="off" value="">
			<input id="searchNodebtn" class="link-button clsearch" type="button" load="true">
		</div>
	</div>	
	<!-- Màn hình danh sách -->
	<div id = "table-container" class=""></div>
	<div class="form-content" style="border-top:none;">
		<div id="TrainingTree" class="edittree" action="1"></div>
			<!-- Action lien quan -->
		<div class = "button-link-container" align = "right">
			
			<div id="button">
				<input id = "add" title = "Thêm" action ="0" type="button" value="Thêm" class="link-button add" style="display:inline">
				<input id = "edit" title = "Sửa" action ="1" type="button" value="Sửa" class="link-button edit" style="display:inline">
				<input id = "delete" title = "Xóa" type="button" value="Xóa" class="link-button delete" style="display:inline">
			</div>		
		</div>
	</div>
		<div id = "ajax_loader" style = "display:none;">
		<img src = "<?=$this->baseUrl?>images/ajax-loader1.gif" />
		<br>
		<div style = "color:blue;font-weight:bold;text-align:center;width:100%;">Đang tải dữ liệu</div>
	</div>	
</form>
<div id = "div_ajax" style = "display:none;"></div>
</div>
<div id = "load_data_form_training_update"></div>
<script type="text/javascript">
	$(document).keypress( function(e) {
		if( e.keyCode == 13){
			return false;
		}
	})
	$(document).ready(function(){
		fixTitle();
	});
	baseUrl = '<?=$this->baseUrl();?>';	
	myTree = new Tree(baseUrl,'listxml','tree');
	urlPath = myTree.urlPath;
	fixTitle();
	// 	//Create evens
	myTree.loadTreefrm();
	var url = myTree.urlPath + '/loadtree';
</script>
<style type="text/css">
.form-content{
	border: 1px solid #DDDDDD;
    margin: 5px 2px;
    padding: 2px 2px 4px 10px;
}
.edittree{
	margin-bottom:15px;
}
.jstree-default a.jstree-search {
    color: #9B1F50;
    font-weight: bold;
}
</style>